home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Icon 8.1 / msm-2 / iconc.sit / globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-19  |  1.3 KB  |  39 lines  |  [TEXT/MPS ]

  1. /*
  2.  *  Global variables.
  3.  */
  4.  
  5. extern char *runtime;
  6.  
  7. #ifndef Global
  8. #define Global extern
  9. #define Init(v)
  10. #endif                    /* Global */
  11.  
  12. /*
  13.  * Variables related to command processing.
  14.  */
  15. Global char *progname    Init("iconc");    /* program name for diagnostics */
  16.  
  17. Global int debug_info    Init(0);    /* -fd, -t: generate debugging info */
  18. Global int err_conv     Init(0);    /* -fe: support error conversion */
  19. Global int largeints    Init(0);    /* -fl: support large integers */
  20. Global int line_info    Init(0);    /* -fn, -fd, -t: generate line info */
  21. Global int m4pre    Init(0);    /* -m: use m4 preprocessor? [UNIX] */
  22. Global int str_inv    Init(0);    /* -fs: enable full string invocation */
  23. Global int trace    Init(0);    /* -t: initial &trace value */
  24. Global int uwarn    Init(0);    /* -u: warn about undefined ids? */
  25. Global int just_type_trace Init(0);    /* -T: suppress C code */
  26. Global int verbose      Init(1);    /* -s, -v: level of verbosity */
  27.  
  28. Global char *c_comp     Init(CComp);    /* -C: C compiler */
  29. Global char *c_opts     Init(COpts);    /* -p: options for C compiler */
  30.  
  31. /*
  32.  * Flags turned off by the -n option.
  33.  */
  34. Global int opt_cntrl    Init(1);    /* do control flow optimization */
  35. Global int opt_sgnl    Init(1);    /* do signal handling optimizations */
  36. Global int do_typinfer    Init(1);    /* do type inference */
  37. Global int allow_inline Init(1);    /* allow expanding operations in line */
  38.  
  39.